package com.apexedu.eas.constants;

/**
 * 常量定义
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-10-18
 * Time: 下午4:44
 * To change this template use File | Settings | File Templates.
 */
public interface Constant {

	/**
	 * 调用存储过程 操作类型
	 */
	interface Produce {
		int OPERTYPE_LIVEBOS = 1; //livebos
		int OPERTYPE_JAVA = 2; //java
		int OPERTYPE_DB = 3; //db
	}

	/**
	 * 用户类型
	 */
	interface UserType {
		String XS = "xs"; //学生
		String LS = "ls"; //教师
	}

	/**
	 * 教学班操作类型
	 */
	interface JxbCtype {
		String EDIT = "0"; //编辑
		String HB = "1"; //合班
		String FB = "2"; //分班
		String HUB = "3"; //混班

		String JS = "js"; //更新教师
		String JC = "jc"; //更新教材
	}

	/**
	 * 课表类型
	 */
	interface KbType {
		String JS = "js"; //教室使用情况
		String XK = "xk"; //选课校验冲突
        String LS ="ls"; //教师
        String BJ ="bj"; //班级
        String XS ="xs"; //学生
        String JXB ="jxb"; //教学班
	}

	/**
	 * AutoComplete类型
	 */
	interface AutoCompleteKey {
		String JS = "js"; //排课教室
		String LS = "ls"; //任课教师
		String JKLS = "jkls"; //监考教师
		String JCXX = "jcxx"; //教材信息
		String KCJS = "kcjs"; //考场
	}

	/**
	 * 代码集子项类型
	 */
	interface T_SJZX_DMJZX {
		long xianXuanKe = 966; //限选课
		long renXuanKe = 967; //任选课
		long biShi = 977; //笔试
	}

	/**
	 * 培养计划最小单位
	 */
	interface Pyjhzxdw {
		int zy = 1; //专业
		int bj = 2; //班级
		int xs = 3; //学生
	}

	/**
	 * 计划学年 学期表 id
	 */
	interface Jh_Xn_Xq {
		long[] JHXN = {1, 2, 3, 4, 5}; //第一学年~~第五学年 id数组
		long[] JHXQ = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; //第一学期~~第十学期 id数组
	}

	/**
	 * 是否可用或启用
	 */
	interface SFKY {
		int YES = 1;  //是
		int NO = 0;   //否
	}

	/**
	 * 成绩类型
	 */
	interface CJLX {
		int BFZ = 11; //百分制
		int DJZ = 12; //等级制
		int HGZ = 13; //合格制
	}
}
